﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GsifWeb4.Models;
using System.Web.Mvc;

namespace GsifWeb4.ViewModels
{
    public class TrainingViewModel
    {
        public traning_gsif Training { get; set; }
        public SelectList Teams { get; set; }

        public TrainingViewModel(traning_gsif training)
        {
            Training = training;

            Teams = new SelectList(GsifWeb4.Team.AllTeams, GsifWeb4.Statuses.GetStatusFromDbValue(GsifWeb4.Team.AllTeams, training.Lag));
        }
    }
}